

from rest_framework.viewsets import ModelViewSet
from goods.models import Brand
from sadmin.serializersss.brands_serializers import BrandModelSerializer

from sadmin.utils import Mypage


class BrandViewSet(ModelViewSet):
    queryset = Brand.objects.all()
    serializer_class = BrandModelSerializer
    pagination_class = Mypage